.home {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/* 背景装饰 */
.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.home__bg-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.home__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: pulse 4s ease-in-out infinite;
}

.home__bg-glow--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00d4ff, transparent);
  top: -200px;
  left: -200px;
}

.home__bg-glow--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0066ff, transparent);
  bottom: -250px;
  right: -250px;
  animation-delay: 2s;
}

/* 头部 */
.home__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 80px;
  animation: fadeIn 1s ease-out;
}

.home__title {
  font-size: 56px;
  font-weight: bold;
  background: linear-gradient(135deg, #00d4ff 0%, #0066ff 50%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
  letter-spacing: 6px;
  animation: glow 3s ease-in-out infinite;
  margin: 0 0 20px 0;
}

.home__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0;
  animation: fadeIn 1s ease-out 0.3s both;
}

/* 内容区域 */
.home__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  animation: fadeIn 1s ease-out 0.5s both;
}

.home__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 20px;
}

/* 卡片样式 */
.home__card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.6s ease-out;
}

.home__card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent,
    var(--card-color, #00d4ff),
    transparent 30%
  );
  border-radius: 20px;
  animation: rotate 4s linear infinite;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.home__card:hover::before {
  opacity: 0.3;
}

.home__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow:
    0 20px 60px rgba(0, 212, 255, 0.3),
    inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.home__card-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.home__card-title {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 15px 0;
  letter-spacing: 2px;
}

.home__card-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.home__card-arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 32px;
  color: var(--card-color, #00d4ff);
  transition: transform 0.3s ease;
}

.home__card:hover .home__card-arrow {
  transform: translateX(10px);
}

/* 底部 */
.home__footer {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 60px;
  animation: fadeIn 1s ease-out 0.8s both;
}

.home__footer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .home__title {
    font-size: 36px;
  }

  .home__subtitle {
    font-size: 14px;
  }

  .home__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home__card {
    padding: 30px;
  }

  .home__card-icon {
    font-size: 48px;
  }

  .home__card-title {
    font-size: 22px;
  }
}
